package com.example.tse.rbhttpservice.service.member.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


/**
 * 获取我的订单列表，订单状态包括待支付、待发货、待收货、已完成、已取消
 * @author wliu
 * edit tse
 */
public class MemberOrderGetListGoods extends RudderResponse{
    
    private String productId = "";
		
    
    private String name = "";
		
    
    private String price = "";
		
    
    private String quantity = "";
		
    
    private String thumbnailPic = "";
		
    
    private String subTotal = "";
		
    
    private String spec = "";
		
	
    /**
     * @return productId
     */	
    public String getProductId() { 
	    return this.productId;
    };
	
	/**
     * @return productId
     */	
    public void setProductId(String productId) { 
        this.productId = productId;
    };
    
    /**
     * @return name
     */	
    public String getName() { 
	    return this.name;
    };
	
	/**
     * @return name
     */	
    public void setName(String name) { 
        this.name = name;
    };
    
    /**
     * @return price
     */	
    public String getPrice() { 
	    return this.price;
    };
	
	/**
     * @return price
     */	
    public void setPrice(String price) { 
        this.price = price;
    };
    
    /**
     * @return quantity
     */	
    public String getQuantity() { 
	    return this.quantity;
    };
	
	/**
     * @return quantity
     */	
    public void setQuantity(String quantity) { 
        this.quantity = quantity;
    };
    
    /**
     * @return thumbnailPic
     */	
    public String getThumbnailPic() { 
	    return this.thumbnailPic;
    };
	
	/**
     * @return thumbnailPic
     */	
    public void setThumbnailPic(String thumbnailPic) { 
        this.thumbnailPic = thumbnailPic;
    };
    
    /**
     * @return subTotal
     */	
    public String getSubTotal() { 
	    return this.subTotal;
    };
	
	/**
     * @return subTotal
     */	
    public void setSubTotal(String subTotal) { 
        this.subTotal = subTotal;
    };
    
    /**
     * @return spec
     */	
    public String getSpec() { 
	    return this.spec;
    };
	
	/**
     * @return spec
     */	
    public void setSpec(String spec) { 
        this.spec = spec;
    };
    
	
        
    public static void filter(MemberOrderGetListGoods member) {
        if (member.getProductId() == null) {
            member.setProductId("");
        }
        if (member.getName() == null) {
            member.setName("");
        }
        if (member.getPrice() == null) {
            member.setPrice("");
        }
        if (member.getQuantity() == null) {
            member.setQuantity("");
        }
        if (member.getThumbnailPic() == null) {
            member.setThumbnailPic("");
        }
        if (member.getSubTotal() == null) {
            member.setSubTotal("");
        }
        if (member.getSpec() == null) {
            member.setSpec("");
        }
    }
}
